<?php 
/*
* 阅读日志页面
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
<div id="content" class="single">
<div class="sitemap cbx">
		<a href="<?php echo BLOG_URL; ?>" title="返回博客主页">博客首页</a>
		&nbsp;&raquo;&nbsp;所有文章&nbsp;&raquo;&nbsp;
		<?php blog_sort($logid,false); ?>
		&nbsp;&raquo;&nbsp;
		<?php echo $log_title; ?>
</div>
	<div class="cbx post">
		<h2>
			<?php echo $log_title; ?>
		</h2>
		<div class="postmeta">
			<ul>
				<li class="meta-date">
					<a href="<?php echo BLOG_URL; ?>?record=<?php echo gmdate('Yn', $date); ?>" title="发布时间：<?php echo gmdate('Y-n-j G:i', $date); ?> | 单击查看该月的文章存档"><?php echo gmdate('Y-n-j G:i', $date); ?></a>
				</li>
				<li class="meta-cat">
					<?php blog_sort($logid); ?>
				</li>
				<li class="meta-views">
					<a href="javascript:;" title="热度：<?php echo $views; ?> ℃" onclick="alert('该文章的热度达到了 <?php echo $views; ?> ℃呢')"><?php echo $views; ?> ℃</a>
				</li>
				<li class="meta-comments">
					<a href="#comments"
						title="文章 <?php echo $log_title; ?> 的评论共有 <?php echo $comnum; ?> 条"><?php echo $comnum; ?> 条评论</a>
				</li>	
			</ul>
			<div class="clear"></div>
		</div>
		<div class="post-content"><br/>
			<div class="post-content-text">
				<?php echo $log_content; ?>
				<p class="att"><?php blog_att($logid); ?></p>
			</div>
			<?php doAction('log_related', $logData); ?>
			<div class="postmeta" style="background-image:none;background-attachment:scroll;border-width:0px 0px 1px;border-style:none none dashed;border-bottom-color:#cccccc;font-family:inherit;font-size:13px;font-style:inherit;list-style:none outside none;margin:6px 0px 10px;outline:none 0px;padding:0px 0px 8px;vertical-align:baseline;color:#666666;height:16px;background-position:0px 0px;background-repeat:repeat repeat;">
			</div>
	<?php blog_tag($logid,true); ?>
	<div class="writerinfodiv input-group">
					<span class="input-group-addon">本文地址</span>
					<input type="url" class="form-control" id="x_this_logurl" value="<?php echo Url::log($logid); ?>" >
					<span class="input-group-addon" onclick="wmzz_copy(document.getElementById('x_this_logurl').value);">复制本文地址</span>
	</div>
					<?php blog_trackback($tb, $tb_url, $allow_tb); ?>
					<div class="bdlikebutton" style="float:left;"></div>
<script id="bdlike_shell" _ue_org_tagname="script"></script><script _ue_org_tagname="script">
var bdShare_config = {
	"type":"small",
	"color":"red",
	"uid":"6507883",
	"likeText":"顶一个",
	"likedText":"您已顶过",
	"share":"yes"
};
document.getElementById("bdlike_shell").src="http://bdimg.share.baidu.com/static/js/like_shell.js?t=" + Math.ceil(new Date()/3600000);
</script>
			<div class="clear"></div>
		</div>
	</div>
	<div id="prext" class="cbx">
		<?php neighbor_log($neighborLog); ?>
	</div>
		<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark); blog_comments($comments) ?>
</div>
<?php
 include View::getView('side');
 include View::getView('footer');
?>
